package com.leyou;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * 启动类
 * eureka服务端
 *
 * @author xxx
 */
@SpringBootApplication
@EnableEurekaServer
public class LyRegistryApplication {

    public static void main(String[] args){
        // 运行spring应用
        SpringApplication.run(LyRegistryApplication.class, args);
    }
}